package com.ruoyi.recycleshop.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.recycle.dto.LoginDTO;
import com.ruoyi.recycle.vo.LoginVO;

import javax.servlet.http.HttpServletRequest;

public interface LoginService {
    String wechatAuth(String code, String encryptedData, String iv);

    LoginVO login(LoginDTO loginDTO);

    R logout(HttpServletRequest request);
}
